package com.ll.mapper;

import com.ll.entity.User;

import java.util.List;

public interface UserMapper {
    //查询用户 通过名字模糊匹配
    List<User> getList(String name);
    //查询用户 通过id
    User getUserById(int id);
    int addUser(User user);
    int updateUser(User user);
    int deleteUser(int id);
}
